

import framework.Screen;
import gamebackend.GameSession;

import java.awt.event.KeyEvent;

import javaframework.JavaGameContext;

import javax.swing.SwingUtilities;

@SuppressWarnings("serial")
public class JavaFlier extends JavaGameContext {

	
	public JavaFlier() {
		super("Crappy Flier", "/ress/drawable-xhdpi/", new String[]{"Left", "Right", "Special", "Pause"},
				 new int[]{37, 39, 40, KeyEvent.VK_ESCAPE},
				 new int[]{GameSession.KEY_LEFT, GameSession.KEY_RIGHT, GameSession.KEY_SPECIAL, GameSession.KEY_PAUSE});
	}
	@Override
	public Screen getInitialScreen() {
		return new JavaStartScreen(this);
//		return new JavaPlayScreen(this, CloneShip.class);
//		return new FlierPlayScreen(this);
	}

	public static void main(String[] args) {
		SwingUtilities.invokeLater(new Runnable() {
			public void run() {
				//Block.USE_COMPOSITE = true;
				new JavaFlier();
			}
		});
	}
}

